package com.village.friend.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 
 * </p>
 *
 * @author yl
 * @since 2021-11-22
 */
@ApiModel(value="ChatLog对象", description="")
public class ChatLog implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(value = "msg_id", type = IdType.ASSIGN_UUID)
    private String msgId;

    private String sendId;

    private Integer sessionType;

    private String recvId;

    private Integer contentType;

    private Integer msgFrom;

    private String content;

    private String remark;

    private Integer senderPlatformId;

    private LocalDateTime sendTime;


    public String getMsgId() {
        return msgId;
    }

    public void setMsgId(String msgId) {
        this.msgId = msgId;
    }

    public String getSendId() {
        return sendId;
    }

    public void setSendId(String sendId) {
        this.sendId = sendId;
    }

    public Integer getSessionType() {
        return sessionType;
    }

    public void setSessionType(Integer sessionType) {
        this.sessionType = sessionType;
    }

    public String getRecvId() {
        return recvId;
    }

    public void setRecvId(String recvId) {
        this.recvId = recvId;
    }

    public Integer getContentType() {
        return contentType;
    }

    public void setContentType(Integer contentType) {
        this.contentType = contentType;
    }

    public Integer getMsgFrom() {
        return msgFrom;
    }

    public void setMsgFrom(Integer msgFrom) {
        this.msgFrom = msgFrom;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Integer getSenderPlatformId() {
        return senderPlatformId;
    }

    public void setSenderPlatformId(Integer senderPlatformId) {
        this.senderPlatformId = senderPlatformId;
    }

    public LocalDateTime getSendTime() {
        return sendTime;
    }

    public void setSendTime(LocalDateTime sendTime) {
        this.sendTime = sendTime;
    }

    @Override
    public String toString() {
        return "ChatLog{" +
        "msgId=" + msgId +
        ", sendId=" + sendId +
        ", sessionType=" + sessionType +
        ", recvId=" + recvId +
        ", contentType=" + contentType +
        ", msgFrom=" + msgFrom +
        ", content=" + content +
        ", remark=" + remark +
        ", senderPlatformId=" + senderPlatformId +
        ", sendTime=" + sendTime +
        "}";
    }
}
